﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.Application.OutPut
{
    /// <summary>
    /// 生产任务显示子表
    /// </summary>
    public class ProductiveTaskItemsInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int taskItemId { get; set; }

        /// <summary>
        /// 表头Id
        /// </summary>
        public int? head_id { get; set; }

        /// <summary>
        /// 商品Id
        /// </summary>
        public int? product_id { get; set; }
        /// <summary>
        /// 商品条码
        /// </summary>
        public string product_code { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string product_name { get; set; }
        /// <summary>
        /// 商品规格
        /// </summary>
        public string product_standard { get; set; }
        /// <summary>
        /// 商品型号
        /// </summary>
        public string product_model { get; set; }
        /// <summary>
        /// 商品单位
        /// </summary>
        public string product_unit { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public decimal? current_number { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        [Column(TypeName = "decimal(24,6)")]
        public decimal? oper_number { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        [Column(TypeName = "decimal(24,6)")]
        public decimal? unit_price { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        [Column(TypeName = "decimal(24,6)")]
        public decimal? all_price { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? remark { get; set; }
    }
}
